Optimal. Leaf size=62 \[ -\frac {\left (a+b x^2\right )^7}{18 a x^{18}}+\frac {b \left (a+b x^2\right )^7}{72 a^2 x^{16}}-\frac {b^2 \left (a+b x^2\right )^7}{504 a^3 x^{14}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 62, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 4, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.167, Rules used = {28, 272, 47, 37}
\begin {gather*} -\frac {b^2 \left (a+b x^2\right )^7}{504 a^3 x^{14}}+\frac {b \left (a+b x^2\right )^7}{72 a^2 x^{16}}-\frac {\left (a+b x^2\right )^7}{18 a x^{18}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 28
Rule 37
Rule 47
Rule 272
Rubi steps
\begin {align*} \int \frac {\left (a^2+2 a b x^2+b^2 x^4\right )^3}{x^{19}} \, dx &=\frac {\int \frac {\left (a b+b^2 x^2\right )^6}{x^{19}} \, dx}{b^6}\\ &=\frac {\text {Subst}\left (\int \frac {\left (a b+b^2 x\right )^6}{x^{10}} \, dx,x,x^2\right )}{2 b^6}\\ &=-\frac {\left (a+b x^2\right )^7}{18 a x^{18}}-\frac {\text {Subst}\left (\int \frac {\left (a b+b^2 x\right )^6}{x^9} \, dx,x,x^2\right )}{9 a b^5}\\ &=-\frac {\left (a+b x^2\right )^7}{18 a x^{18}}+\frac {b \left (a+b x^2\right )^7}{72 a^2 x^{16}}+\frac {\text {Subst}\left (\int \frac {\left (a b+b^2 x\right )^6}{x^8} \, dx,x,x^2\right )}{72 a^2 b^4}\\ &=-\frac {\left (a+b x^2\right )^7}{18 a x^{18}}+\frac {b \left (a+b x^2\right )^7}{72 a^2 x^{16}}-\frac {b^2 \left (a+b x^2\right )^7}{504 a^3 x^{14}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.00, size = 82, normalized size = 1.32 \begin {gather*} -\frac {a^6}{18 x^{18}}-\frac {3 a^5 b}{8 x^{16}}-\frac {15 a^4 b^2}{14 x^{14}}-\frac {5 a^3 b^3}{3 x^{12}}-\frac {3 a^2 b^4}{2 x^{10}}-\frac {3 a b^5}{4 x^8}-\frac {b^6}{6 x^6} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.02, size = 69, normalized size = 1.11
method | result | size |
default | \(-\frac {5 a^{3} b^{3}}{3 x^{12}}-\frac {3 a \,b^{5}}{4 x^{8}}-\frac {3 a^{5} b}{8 x^{16}}-\frac {3 a^{2} b^{4}}{2 x^{10}}-\frac {b^{6}}{6 x^{6}}-\frac {15 a^{4} b^{2}}{14 x^{14}}-\frac {a^{6}}{18 x^{18}}\) | \(69\) |
norman | \(\frac {-\frac {1}{18} a^{6}-\frac {3}{8} a^{5} b \,x^{2}-\frac {15}{14} a^{4} b^{2} x^{4}-\frac {5}{3} a^{3} b^{3} x^{6}-\frac {3}{2} a^{2} b^{4} x^{8}-\frac {3}{4} a \,b^{5} x^{10}-\frac {1}{6} b^{6} x^{12}}{x^{18}}\) | \(70\) |
risch | \(\frac {-\frac {1}{18} a^{6}-\frac {3}{8} a^{5} b \,x^{2}-\frac {15}{14} a^{4} b^{2} x^{4}-\frac {5}{3} a^{3} b^{3} x^{6}-\frac {3}{2} a^{2} b^{4} x^{8}-\frac {3}{4} a \,b^{5} x^{10}-\frac {1}{6} b^{6} x^{12}}{x^{18}}\) | \(70\) |
gosper | \(-\frac {84 b^{6} x^{12}+378 a \,b^{5} x^{10}+756 a^{2} b^{4} x^{8}+840 a^{3} b^{3} x^{6}+540 a^{4} b^{2} x^{4}+189 a^{5} b \,x^{2}+28 a^{6}}{504 x^{18}}\) | \(71\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.29, size = 70, normalized size = 1.13 \begin {gather*} -\frac {84 \, b^{6} x^{12} + 378 \, a b^{5} x^{10} + 756 \, a^{2} b^{4} x^{8} + 840 \, a^{3} b^{3} x^{6} + 540 \, a^{4} b^{2} x^{4} + 189 \, a^{5} b x^{2} + 28 \, a^{6}}{504 \, x^{18}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.32, size = 70, normalized size = 1.13 \begin {gather*} -\frac {84 \, b^{6} x^{12} + 378 \, a b^{5} x^{10} + 756 \, a^{2} b^{4} x^{8} + 840 \, a^{3} b^{3} x^{6} + 540 \, a^{4} b^{2} x^{4} + 189 \, a^{5} b x^{2} + 28 \, a^{6}}{504 \, x^{18}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.31, size = 75, normalized size = 1.21 \begin {gather*} \frac {- 28 a^{6} - 189 a^{5} b x^{2} - 540 a^{4} b^{2} x^{4} - 840 a^{3} b^{3} x^{6} - 756 a^{2} b^{4} x^{8} - 378 a b^{5} x^{10} - 84 b^{6} x^{12}}{504 x^{18}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 4.67, size = 70, normalized size = 1.13 \begin {gather*} -\frac {84 \, b^{6} x^{12} + 378 \, a b^{5} x^{10} + 756 \, a^{2} b^{4} x^{8} + 840 \, a^{3} b^{3} x^{6} + 540 \, a^{4} b^{2} x^{4} + 189 \, a^{5} b x^{2} + 28 \, a^{6}}{504 \, x^{18}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 4.31, size = 70, normalized size = 1.13 \begin {gather*} -\frac {\frac {a^6}{18}+\frac {3\,a^5\,b\,x^2}{8}+\frac {15\,a^4\,b^2\,x^4}{14}+\frac {5\,a^3\,b^3\,x^6}{3}+\frac {3\,a^2\,b^4\,x^8}{2}+\frac {3\,a\,b^5\,x^{10}}{4}+\frac {b^6\,x^{12}}{6}}{x^{18}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________